Device and method for dynamic concatenated short messaging service optimization of messages with multiple encoding schemes

ABSTRACT

A device, method and non-transitory computer readable storage medium for receiving a text message including a plurality of characters for transmission through a network, determining, based on a number of characters and encoding schemes associated with the characters, that the text message is to be transmitted using concatenation, determining, based on the number of characters and encoding schemes for each of the characters, a minimum number of concatenated messages used to transmit the text message, encoding the minimum number of concatenated messages for transmission, wherein a first of the concatenated messages is encoded by a first encoding scheme and a second of the concatenated messages is encoded by a second encoding scheme, wherein at least one of the characters in the second concatenated message cannot be encoded by the first encoding scheme and transmitting the concatenated messages that have been respectively encoded to the receiving station.

BACKGROUND INFORMATION

A first station may be configured to communicate with a second station.For example, the first station may use a transceiver to transmit andreceive data from the second station through a wireless communicationsnetwork. In another example, the first and second stations may beconnected via a wired network (e.g., Ethernet) or a combination of wiredand wireless networks. The first and second stations may use the networkto communicate using a variety of different applications. For example,the first station may be a transmitting station while the second stationmay be a receiving station for a text message. Depending on the networkbeing utilized, the text message may be transmitted in a respectivemanner. For example, when a data network is used, the text message maybe transmitted in its entirety using a data encoding scheme. In anotherexample, when a cellular network is used, the text message may betransmitted as a short messaging service (SMS) message.

When the text message is transmitted as a SMS message, the text of themessage may be encoded using a variety of encoding schemes. In a firstexample, a 7-bit encoding scheme may be used which includes a definedalphabet including a set of characters as defined by the Global Systemfor Mobile Communications (GSM). The 7-bit encoding scheme allows for amaximum of 160 characters to be included in one text message. In asecond example, an 8-bit encoding scheme may be used which includes adefined data alphabet. The 8-bit encoding scheme allows for a maximum of140 characters to be included in one text message. In a third example, a16-bit encoding scheme may be used which includes a 2-byte UniversalCharacter Set (UCS-2). The 16-bit encoding scheme allows for a maximumof 70 characters to be included in one text message.

Therefore, when a user of the transmitting station enters characters fora text message, a messaging application determines whether the textmessage may be transmitted as a single SMS message or as a plurality ofconcatenated SMS messages (which constitutes the entire text message).That is, the text message being sent via SMS may require concatenationdepending on the encoding scheme used based upon the entered characters.For example, a special character of UCS-2 uses the 16-bit encodingscheme. In another example, a standard character of the GSM alphabetuses the 7-bit encoding scheme. The concatenation process for textmessages transmitted using SMS uses a fixed encoding scheme. Forexample, when only the GSM alphabet is required, the entire text messageis encoded with the 7-bit encoding scheme. In another example, when the16-bit encoding scheme is required, this is used to encode the entiretext message. However, this may result in unnecessarily generatingadditional concatenated messages.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an exemplary network arrangement for transmitting a textmessage.

FIG. 2 shows an exemplary station configured to transmit a text message.

FIG. 3 shows an exemplary set of processing layers to transmit a textmessage.

FIG. 4 shows an exemplary method of transmitting a text message.

FIG. 5A shows a first exemplary text message.

FIGS. 5B-D show exemplary concatenations of the text message of FIG. 5A.

FIG. 6A shows a second exemplary text message.

FIGS. 6B-D show exemplary concatenations of the text message of FIG. 6A.

DETAILED DESCRIPTION

The exemplary embodiments describe a device, method and computerreadable storage medium for receiving a text message for transmissionthrough a network to a receiving station, the text message including aplurality of characters, determining, based on a number of the pluralityof characters and encoding schemes associated with the characters, thatthe text message is to be transmitted using concatenation, determining,based on the number of the plurality of characters and encoding schemesfor each of the characters, a minimum number of concatenated messagesused to transmit the text message, encoding each of the minimum numberof concatenated messages for transmission, wherein a first of theconcatenated messages is encoded by a first one of the encoding schemesand a second of the concatenated messages is encoded by a second one ofthe encoding schemes, wherein at least one of the characters in thesecond concatenated message cannot be encoded by the first encodingscheme and transmitting the concatenated messages that have beenrespectively encoded to the receiving station.

The exemplary embodiments may be further understood with reference tothe following description and the related appended drawings, whereinlike elements are provided with the same reference numerals. Theexemplary embodiments are related to a device and method fortransmitting a text message using a dynamically encoded set ofconcatenated Short Messaging Service (SMS) messages. Specifically, thetext message is parsed to determine a minimum number of SMS messagesthat are required to transmit the entire text message, in which eachconcatenated SMS message is encoded accordingly. The text message, theSMS messages, the concatenation, a transmitting station, a receivingstation, a related method, and examples will be described in furtherdetail below.

Throughout this description, the term “text message” is used to denote amessage that includes any type of characters and is not limited to only“text” characters. Examples of other types of characters include emojis,graphics, non-English characters, etc. In addition, the exemplaryembodiments are described with reference to SMS, but it will be clear tothose skilled in the art that the exemplary embodiments may be appliedto any messaging service that uses two or more encoding schemes.

A first user of a first station may communicate with a second user of asecond station in a variety of manners. In a first example, a voiceapplication may be used to establish a live voice call in which thefirst and second users are capable of speaking to each other using thefirst and second stations, respectively. The voice call may beestablished through a network such as using a peer-to-peer connection.In a second example, a messaging application may be used by the firstuser of the first station to transmit a character-based message to thesecond user of the second station. Accordingly, the first user may entera text message on the first station which is transmitted to the secondstation for the second user to read the text message.

The messaging application may utilize a variety of different informationto determine a manner in which the text message is to be transmitted.For example, the messaging application may receive configurationinformation about the first and second stations. The configurationinformation may relate to networks that the first and second stationsare associated and/or authorized to use. The configuration informationmay also relate to a manner in which the first and second stationsprocess text messages. In another example, the messaging application mayreceive network information about the networks that the first and secondstations are currently connected. The network information may relate toa manner in which the network handles the exchange of text messages. Ina further example, the messaging application may utilize informationrelated to the text message. Specifically, a length of the text message,characters included in the text message, etc. may be parsed by themessaging application to determine a manner of transmitting the textmessage.

In a first exemplary transmission manner, the first and second stationsmay be associated with a common operating platform, a commonmanufacturer, a common carrier, etc. That is, the configurationinformation may indicate that the first and second stations may beassociated with a common data network as well as connected thereto. Insuch a scenario, there may be a specialized or proprietary pathway thatis used to transmit and receive the text messages between these stationsvia the data network. The network information may further indicate thatthe text message may be transmitted through this specialized pathway asdata using a data encoding scheme in which the entire text message,regardless of length and use of specialized characters, is transmittedfrom the first station to the second station. In a specific example,this may be an iMessage as used by devices with the iOS operating systemmanufactured and associated with Apple, Inc.

In a second exemplary transmission manner, the first and second stationsmay not have a specialized or proprietary pathway that is available fortext messages to be exchanged. A standard manner of transmitting a textmessage through any available network may be SMS. SMS provides a textmessaging service component of phone, web, and mobile communicationsystems. SMS uses standardized communications protocols to allow fixedline or mobile stations to exchange short text messages.

The SMS—Point to Point (SMS-PP) is maintained in 3GPP that defines theSMS—Cell Broadcast (SMS-CB) allowing text messages (e.g., advertising,public information, etc.) to be broadcast to users in a specifiedgeographical area. The text messages are transmitted from thetransmitting station to a SMS center (SMSC) that provides a “store andforward” mechanism in which the text message that is received is storedso that the SMSC later attempts to send the text messages to theintended recipients (e.g., receiving station). Text message deliveryuses a “best effort” delivery in which there are no guarantees that atext message actually is delivered to its recipient.

The transmission of text messages as SMS between the SMSC and thestation is done whenever using the Mobile Application Part (MAP) of theSS7 protocol. The text messages are sent with the MAP ForwardSMoperations whose payload length is limited by the constraints of thesignaling protocol to precisely 140 octets (140 octets=140*8 bits=1120bits). With this limitation, SMS messages may be encoded using a varietyof alphabets: the default GSM 7-bit alphabet, the 8-bit data alphabet,and the 16-bit UCS-2 alphabet. Depending on which alphabet the stationis configured as well as the characters included in the text message,this leads to the maximum individual short message sizes of 160 7-bitcharacters, 140 8-bit characters, or 70 16-bit characters. The GSM 7-bitalphabet support is mandatory for GSM handsets and network elements, butcharacters in other languages (e.g., Arabic, Chinese, Korean, Japanese,or Cyrillic alphabet languages (e.g., Russian, Serbian, Bulgarian,etc.)) must be encoded using the 16-bit UCS-2 character encoding (i.e.,Unicode).

In view of the maximum number of characters allowed to be included inthe SMS (based upon the encoding scheme), larger content may be sentusing multiple SMS messages that constitute the entire text message.When no mechanism is configured for large text messages, the user may beprevented from entering any further characters into the text message. Amechanism that is used to overcome this drawback is concatenated SMS.For example, with the maximum character limitation, a text message maybe divided into three SMS messages that are concatenated. The firstmessage may be a first set of characters that is delivered first; thesecond message may be a second set of characters immediately followingthe first set of characters that is delivered second; and the thirdmessage may be a third set of characters immediately following thesecond set of characters that is delivered third.

Each concatenated SMS message may start with a User Data Header (UDH)containing segmentation information. Since UDH is part of the payload,the number of available characters per segment may be lower (e.g., 153for 7-bit encoding, 134 for 8-bit encoding, and 67 for 16-bit encoding).The receiving station may reassemble the message and present it to theuser as one long message or present it as individual messages. While thestandard theoretically permits up to 255 segments, six to eight segmentconcatenated SMS messages are often the practical maximum. Theconcatenation process provides a seamless manner in which a large textmessage that exceeds the maximum number of allowed characters within aSMS message to be divided into a plurality of SMS messages andtransmitted from the transmitting station to the receiving stationwithout any intervention required from the users of both stations.

In a first example of transmitting concatenated SMS messages, the entiretext message may use only the 7-bit encoding scheme. Thus, the textmessage may be split into 153 7-bit character parts (134 octets) witheach part transmitted with a User Data Header (UDH) appended onto thebeginning of the payload. The UDH may be used for various purposes andits contents and size varies accordingly. However, a UDH forconcatenated SMS messages may include predetermined fields. Field 1 (1octet) may indicate a length of the UDH (e.g., 05). Field 2 (1 octet)may indicate an Information Element Identifier (e.g., equal to 00(Concatenated SMS messages, 8-bit reference number)). Field 3 (1 octet)may indicate a length of the header excluding the first two fields(e.g., equal to 03). Field 4 (1 octet) may indicate a concatenated SMSreference number which must be the same for all the parts in theconcatenated SMS messages of a text message (e.g., 00-FF). Field 5 (1octet) may indicate a total number of parts. The value remains constantfor every concatenated SMS message that makes up the entire textmessage. If the value is zero, then the receiving station may ignore thewhole information element. Field 6 (1 octet) may indicate the sequencein which the particular concatenated SMS message is associated. Thevalue may start at 1 and increment for every concatenated SMS messagethat makes up the text message. If the value is zero or greater than thevalue in Field 5, then the receiving station may ignore the wholeinformation element.

In a second example of transmitting concatenated SMS messages, theentire text message may use only the 16-bit encoding scheme. The 16-bitencoding scheme may enable a reduction in the probability that twodifferent concatenated SMS messages are sent with identical referencenumbers to a receiving station. In this case, the UDH may includemodified fields. Field 1 (1 octet) may indicate a length of the UDH(e.g., 06). Field 2 (1 octet) may indicate an Information ElementIdentifier (e.g., equal to 08 (Concatenated SMS messages, 16-bitreference number)). Field 3 (1 octet) may indicate a length of theheader excluding the first two fields (e.g., equal to 04). Field 4 (2octets) may indicate a concatenated SMS reference number which must bethe same for all the parts in the concatenated SMS messages of a textmessage (e.g., 0000-FFFF). Field 5 (1 octet) may indicate a total numberof parts. The value remains constant for every concatenated SMS messagewhich makes up the text message. If the value is zero, then thereceiving station may ignore the whole information element. Field 6 (1octet) may the sequence in which the particular concatenated SMS messageis associated. The value may start at 1 and increment for everyconcatenated SMS message which makes up the entire text message. If thevalue is zero or greater than the value in Field 5, then the receivingstation may ignore the whole information element.

Those skilled in the art will understand that the use of the headers andits occupation of bits in the payload for concatenated SMS messages doesnot substantially affect the manner in which the exemplary embodimentsare utilized in the dynamic encoding of the concatenated SMS messages(as will be described in further detail below). For example, if the7-bit encoding scheme is used, the limit may be 160 characters. Althoughdescribed as including 160 characters without consideration for aheader, the limit may also be considered to be 153 characters when theheader is included. However, the exemplary embodiments below do notinclude the space used by the header. Initially, the headers may beincorporated in the concatenated SMS messages without deviating from thedynamic manner of encoding provided herein. Furthermore, as will beexplained in further detail below, the header information may beseparate from the concatenated SMS messages to further maximize thenumber of allowable characters therein.

Long text messages are often billed as equivalent to multiple SMSmessages. That is, each concatenated SMS message of the text message isused for billing purposes. Due to a common encoding scheme being usedfor each concatenated SMS message of the text message in standard SMSsystems, this may result in additional concatenated SMS messages frombeing generated for the text message. This may impact both the user andthe network. With regard to the user, when a limited text messaging planis subscribed to be the user, the additional concatenated SMS messagesmay deduct from this limit unnecessarily. With regard to the network,extra signaling results from the additional concatenated SMS messagesbeing required to be transmitted therethrough, thereby increasing anetwork load.

The exemplary embodiments provide a dynamic manner of encodingindividual concatenated SMS messages that make up a long text message.As discussed above, the potentially extra concatenated SMS messages mayhave drawbacks for both the users and the network. When the transmittingstation reduces a total number of concatenated SMS messages for the longtext message such that a minimum number is only used, these drawbacksmay also be minimized. In contrast to a fixed encoding scheme being usedfor each individual concatenated SMS message, the exemplary embodimentsmay parse the long text message to determine the minimum number ofconcatenated SMS messages that are required and encode each concatenatedSMS message accordingly for transmission.

FIG. 1 shows an exemplary network arrangement 100 for a transmittingstation 105 to transmit a long text message to a receiving station 110through a network 115. Specifically, the transmitting station 105 maydetermine a manner of transmitting the long text message to thereceiving station 110 based upon a variety of available informationrelating to the stations 105, 110 and the network 115. The network 115may represent any network that enables the long text message to beexchanged between the transmitting station 105 and the receiving station110. For example, as discussed above, the network 115 may be a datanetwork that provides a specialized pathway for the long text message tobe encoded using a data encoding scheme and transmitted in its entirety.In another example, the network 115 may represent any cellular networkin which the long text message may be transmitted using SMS and utilizeconcatenated SMS messages if required.

The transmitting station 105 and the receiving station 110 may representany electronic device that are configured with a messaging application.It should be noted that the transmitting station 105 and the receivingstation 110 may be assumed to have the required hardware and softwareconfiguration to utilize the messaging application. For example, thehardware, the software, or both may be incorporated therein or may becoupled in a modular manner. As will be described in further detailbelow, the transmitting station 105 may also be configured with aconcatenation application. The receiving station 110 may optionallyinclude the concatenation application.

FIG. 2 shows an exemplary station 200 configured to transmit a textmessage. Specifically, the station 200 may represent an electronicdevice such as the transmitting station 105 and the receiving station110. The station 200 may be any electronic component configured totransmit the text message such as a portable device (e.g., a cellularphone, a smartphone, a tablet, a phablet, a laptop, etc.) or astationary device (e.g., a desktop computer, an IP phone, etc.). Moreparticularly, when the station 200 is a portable device, thetransmitting station 105 may be a mobile originating (MO) station whilethe receiving station 110 may be a mobile terminating (MT) station. Thestation 200 may include a processor 205, a memory arrangement 210, adisplay device 215, an input/output (I/O) device 220, a transceiver 225,and other components 230.

The processor 205 may be configured to execute a plurality ofapplications of the station 200. For example, the applications mayinclude a web browser when connected to the network 115 via thetransceiver 225. That is, the web browser may represent a data-relatedapplication.

In another example, the applications may include a messaging application235. The messaging application 235 may enable the text message frombeing received from the user and transmitted to the destination. Themessaging application 235 may be executed by the processor 205 to showthe user interface in which the user may select a target user (andcorresponding destination device) or group of users to transmit a textmessage. The user interface may also include a display of previouslyexchanged text messages with the user(s). The user interface provides aninput field in which the user may enter the characters of the textmessage. The messaging application 235 may further be configured todetermine a variety of parameters related to transmitting the textmessage. For example, the messaging application 235 may receive theconfiguration information of the transmitting station 105 and thereceiving station 110 as well as the network information.

The messaging application 235 may determine a manner of transmitting thetext message. As discussed above, the messaging application 235 maytransmit the text message using a data encoding scheme when thespecialized pathway is used when the network 115 is the data network ormay transmit the text message using the 7-bit, the 8-bit, and/or the16-bit encoding scheme as defined for SMS messages. Thus, the messagingapplication 235 may use the configuration and network information tomake this determination. The messaging application 235 may alsodetermine when concatenation may be required. For example, when themessaging application 235 determines that the text message may betransmitted in a single SMS message, the messaging application 235 mayencode the text message using the appropriate encoding scheme fortransmission thereof. In another example and as will be described infurther detail below, the messaging application 235 may provide theconfiguration and network information as well as the text message itselfto a concatenation application 240 to subsequently receive an indicationas to a manner of concatenating the text message as well as the encodingscheme to be used for each concatenated SMS message. Upon receiving thisindication, the messaging application 235 may apply the indicatedencoding scheme to the text message for transmission thereof.

In a further example and according to the exemplary embodiments, themessaging application 234 may include the functionality described hereinfor the concatenation application 240. The concatenation application 240may receive the information and the text message from the messagingapplication 235. Since the concatenation application 240 has receivedthe information and text message (and is being used), the text messagemay be sufficiently long that concatenation is needed. For example, thetext message may be more than 160 characters. When this conditionapplies, the messaging application 235 may automatically determine thatconcatenation is required as this exceeds the highest maximum amount asdefined by the 7-bit encoding scheme for SMS. In another example, themessaging application 235 may determine that the text message includesat least one special character that is not defined by the 7-bit and8-bit encoding schemes. Therefore, the 16-bit encoding scheme may berequired. However, the text message may be more than 70 characters whichindicates that concatenation is most likely also required.

It should be noted that the messaging application 235 being configuredto determine whether concatenation is required is only exemplary. Theconcatenation application 240 may also be configured to perform thisfunctionality. Accordingly, the text message may be forwarded from themessaging application 235 to the concatenation application 240. Theconcatenation application 240 may determine whether concatenation isrequired or whether the text message may be transmitted using the dataencoding scheme or as a single SMS message. This may be included in theindication provided to the messaging application 235 from theconcatenation application 240.

According to the exemplary embodiments, the concatenation application240 may generate a variety of different separations of the long textmessage to also determine a minimum number of concatenated SMS messagesto be used while still maintaining the bounds of the encoding schemesfor the characters included in the text message. Because theconcatenation application 240 is configured to dynamically determine theencoding scheme to be used for each concatenated SMS message, the textmessage may be separated into a plurality of portions where a portionuses one encoding scheme but this encoding scheme is not necessarilyused by each portion. However, as will be described below, it should benoted that there may be situations where a common encoding scheme may beused for each portion.

It should be noted that the messaging application 235 and theconcatenation application 240 being an application (e.g., a program)executed by the processor 205 is only exemplary. The messagingapplications 235 and the concatenation application 240 may also berepresented as a separate incorporated component of the station 200 ormay be a modular component coupled to the station 200.

The memory arrangement 210 may be a hardware component configured tostore data related to operations performed by the station 200. Forexample, the memory arrangement 210 may store information related totransmitting the text message such as the configurations of the station200, the configurations of the receiving station, the networkconfigurations, etc. In another example, the memory arrangement 210 maystore a user database for the messaging application 235 as well ascorresponding text messages that have already been exchanged with therespective user(s). The display device 215 may be a hardware componentconfigured to show data to a user while I/O device 220 may be a hardwarecomponent configured to receive inputs from the user and outputcorresponding data. For example, the display device 215 may provide theuser interface for the user to view the text message to be transmittedwhile the I/O device 220 may provide the user interface for the user toenter the characters of the text message. The other components 230 mayinclude a portable power supply (e.g., battery), a fixed power supply(e.g., AC or DC), a data acquisition device, ports to electricallyconnect the station 200 to other electronic devices, an audio I/Odevice, etc.

According to the exemplary embodiments, the text message may be receivedfrom the user by the messaging application 235. When the messagingapplication 235 determines that the text message may be transmitted witha data encoding scheme or as a single SMS message, the messagingapplication 235 may apply the appropriate encoding to transmit the textmessage to the destination. However, when the messaging application 235determines that the text message is long enough based upon the variousencoding schemes, the concatenation application 240 may be used todetermine the manner in which the text message is to be separated and todetermine the encoding scheme to be applied to each portion.

A standard messaging application that does not utilize a concatenationof the exemplary embodiments may determine the one encoding scheme to beused throughout. In a specific example, a text message may include 160characters with the first character being a special character usingUnicode (i.e., 16-bit) while the remaining 159 characters are 7-bitcharacters. It should be noted that the special character may be anycharacter that is not included in the 7-bit or 8-bit characters such asemojis, graphics, non-English characters, etc. The standard messagingapplication may parse the characters to determine the inclusion of theone special character. Since this special character is included, theentire text message may have the 16-bit encoding scheme applied.Therefore, each concatenated SMS message may include, at most, 70characters (not considering a header for each concatenated SMS message).Thus, a first concatenated SMS message may include the one specialUnicode character and 69 of the 7-bit characters; a second concatenatedSMS message may include the ensuing 70 7-bit characters; and a thirdconcatenated SMS message may include the remaining 20 7-bit characters.Accordingly, the concatenation produces three concatenated SMS messages.

Those skilled in the art will understand that the second and thirdconcatenated SMS messages do not include any Unicode characters.However, since the first concatenated SMS message includes a Unicodecharacter, the second and third concatenated SMS messages are restrictedto having only 70 maximum characters since the 16-bit encoding scheme isstill used by the standard messaging application. The exemplaryembodiments are configured for a baseband control software component(e.g., the concatenation application 240) to indicate that the textmessage may be concatenated in such a manner that only two concatenatedSMS messages may be used to still transmit the entire text message.Specifically, the first concatenated SMS message may be encoded usingthe 16-bit encoding scheme and include the one Unicode character and 697-bit characters while the second concatenated SMS message may beencoded using the 7-bit encoding scheme and include the remaining 907-bit characters.

Accordingly, the exemplary embodiments provide the baseband controlsoftware component (i.e., concatenation application 240 that controlsthe baseband protocol stack with an intelligence to parse the content ofthe text message stream from the messaging application to determinewhich characters require what kind of encoding scheme. While creatingthe concatenated SMS messages for the text message, the concatenationapplication 240 may determine the lowest possible encoding scheme thatmay be used for the specific concatenation. In the example above, thefirst concatenated SMS message includes the Unicode character such thatthe lowest possible encoding scheme is the 16-bit encoding scheme.However, the second concatenated SMS message includes only 7-bitcharacters such that the lowest possible encoding scheme is the 7-bitencoding scheme. In this manner, the maximum number of characters may beavailable to be included within a given concatenated SMS message.

As discussed above, the concatenated SMS messages may not include theheaders described above. Specifically, the SMS control protocol(CP)-data that corresponds to the different sequence numbers may beencoded independently of the concatenated parts. Therefore, eachconcatenated SMS message may include the maximum number of characterstherein (e.g., 70 for 16-bit encoding, 140 for 8-bit encoding, and 160for 7-bit encoding). However, the exemplary embodiments may also bemodified such that each concatenated SMS message also includes the UDHand the corresponding sequence information.

The exemplary embodiments to dynamically apply respective encodingschemes to each concatenated SMS message may ultimately reduce an amountof concatenated SMS messages used in a long text message havingcharacters belonging to various character/encoding sets. For example, auser typing English characters (i.e., 7-bit characters) combined withemojis symbols (e.g., smiley face graphic) may benefit from the dynamicencoding scheme. In another example, a user typing a long message withboth characters from a Latin alphabet and an Arabic alphabet may benefitfrom the dynamic encoding scheme. Although a long text message thatincludes characters from only a single encoding set may result in thesame number of concatenated SMS messages, when characters use differentencoding sets, the exemplary embodiments are configured to minimize theconcatenated SMS messages to be used.

FIG. 3 shows an exemplary set of processing layers 300 to transmit atext message. The processing layers 300 may include the messagingapplication 235, the cellular control software (e.g., the concatenationapplication 240), and a baseband layer 245 including a protocol stack.As described above, the messaging application 235 and/or theconcatenation application 240 may determine whether a concatenation isto be used. The description below relates the concatenation application240 performing this determination.

The exemplary embodiments provide for instructions to the baseband layer245 to be sent accordingly for concatenated SMS submissions. Dynamicencoding schemes for different concatenated SMS messages may beindicated to the baseband stack so that the over-the-air submissions mayhave optimal encoding schemes for different sequence numbers of the samemessage. The concatenation application 240 may start parsing thereceived message strings from the messaging application 235. Theconcatenation application 235 may already be configured with thepossible encoding schemes that define the corresponding bits/charactersand maximum characters/SMS ratios. Starting from the scheme that has thelowest bits/character ratio, concatenated SMS message may be checked tofind the lowest possible encoding scheme for each sequence number. Theexemplary embodiments may identity a largest chunk of the text messageto be included into a single concatenated SMS message with continuoususage of a common encoding scheme to attempt to maximize the sequence ofcharacters that may be sent with a low encoding scheme.

Accordingly, the messaging application 235 may receive user inputs forvarious characters to be included in a single text message. Thecharacters may be sent down to the concatenation application 240 on theprocessor 205 (more specifically an application processor of the station200). The concatenation application 240 may parse through all thecharacters to decide if there is a need for concatenation. Whiledeciding on the need for concatenation, the concatenation application240 may use the lowest possible encoding scheme for a certainconcatenation sequence number (e.g., concatenated SMS message). TheCP-data with different sequence numbers may have unique and independentencoding schemes. Each concatenated SMS message may be tagged withsequence numbers and respective encoding schemes. Thus, theconcatenation information from the concatenation application 240 may beforwarded to the baseband layer 245 which may operate on the processor205 (more specifically a modem processor of the station 200). Forexample, the concatenation information may indicate that the textmessage is to include three concatenated SMS messages in which the firstsequence has a first encoding, the second sequence has a secondencoding, and the third sequence has a third encoding. The basebandlayer 245 may receive the concatenation information from theconcatenation application 240 and use the corresponding encoding schemesfor each concatenated SMS message. The text message may thereby betransmitted as a combination of the concatenated SMS messages.

FIG. 4 shows an exemplary method 400 of transmitting a text message. Themethod 400 relates to transmitting the text message using a dataencoding scheme or a SMS encoding scheme. The method 400 also relates towhether the text message is to be sent as a SMS that requiresconcatenation. The method 400 will be described with regard to thenetwork arrangement 100 of FIG. 1 and the station 200 of FIG. 2. Themethod 400 will also be described with regard to the messagingapplication 235 receiving the characters for the text message while theconcatenation application 240 provides the further functionalities.Furthermore, the method 400 relates to the operations performed by thetransmitting station 105.

In step 405, the messaging application 235 receives the text messagefrom the user via the I/O device 220. As described above, the messagingapplication 235 may provide a user interface in which the characters ofthe text message may be input. The characters that are entered may bepart of the GSM 7-bit alphabet (using 7-bit encoding), a 8-bit dataalphabet (using 8-bit encoding), or a specialized dictionary ofcharacters such as Unicode characters, emoji, non-English letters, etc.(using 16-bit encoding).

In step 410, the transmitting station 105 receives the networkinformation of the network 115. In step 415, the transmitting station105 receives the configuration information of the destination device(i.e., the receiving station 110). Steps 410 and 415 may be performedsequentially as shown, in the reverse order, or concurrently.Furthermore, the messaging application 235 and/or the concatenationapplication 240 may receive the network information and theconfiguration information. Although not shown, the transmitting station105 may also access its own configuration information. Thus, thetransmitting of the text message may be based upon the configurationinformation of the transmitting station 105, the configurationinformation of the receiving station 110, and the network information ofthe network 115.

It should be noted that the network information and the configurationinformation of the receiving station 110 may be received in a variety ofmanners. With regard to the network information, upon associating and/orconnecting to the network 115, the transmitting station 105 may havereceive the network information. The transmitting station 105 may alsotransmit a request to the network 115 to receive the networkinformation. With regard to the configuration information of thereceiving station 110, the transmitting station 105 may transmit arequest to the receiving station 110 for its configuration information.The transmitting station 105 may also have access to a databaseavailable on the network 115 that includes the configuration informationof associated devices such as the receiving station 110. Thetransmitting station 105 may also utilize multimedia messaging service(MMS) messages to receive the configuration information of the receivingstation 110.

In step 420, the concatenation application 240 determines whether thetext message is to be transmitted as a SMS. As described above, the textmessage may be transmitted using a specialized pathway when the network115 is a data network and when the configuration information of thetransmitting station 105 and the receiving station 110 indicate thisfunctionality. Thus, if the text message is to be transmitted in thismanner, the method 400 continues to step 425. In step 425, the textmessage is encoded using the data encoding scheme and transmittedaccordingly. Specifically, the entire text message is encoded in thismanner and also transmitted in its entirety to the receiving station110.

Returning to step 420, if the text message is to be transmitted as aSMS, the method 400 continues to step 430. In step 430, theconcatenation application 240 parses the text message received from themessaging application 235. The concatenation application 240 may thusdetermine the various encoding schemes that may be required and alsodetermine whether the text message may be transmitted as a single SMSmessage. Therefore, in step 435, the concatenation application 240performs this determination of whether concatenation is required.

If concatenation is not required, the method 400 continues to step 440.In step 440, the concatenation application 240 provides instructions tothe baseband layer that the entire text message is to be encoded usingthe same encoding scheme. For example, if the text message is less than70 characters and includes a Unicode character, the entire message is tobe encoded using the 16-bit encoding scheme. In another example, if thetext message is less than 160 characters and includes only 7-bitcharacters, the entire message is to be encoded using the 7-bit encodingscheme. Thus, in step 445, the text message is encoded as indicated inthe instructions. IN step 450, the baseband layer 240 transmits thesingle SMS to the receiving station 110.

Returning to step 435, if the concatenation application 240 determinesthat the text message is long and requires concatenation, the method 400continues to step 455. For example, if the text message exceeds 160characters, regardless of the encoding schemes that are to be used, thetext message uses concatenation. In another example, if the text messageexceeds 70 characters and includes at least one Unicode character, thetext message uses concatenation.

In step 455, the concatenation application 240 determines an optimalconcatenation to be used in which the text message is separated intoconcatenated SMS messages. The concatenated SMS messages are alsoassigned an appropriate encoding scheme depending on the characters thatare included therein. For example, the concatenation application 240 mayinitially attempt to determine whether the lowest encoding scheme (e.g.,7-bit encoding scheme) may be used. When the characters in theconcatenated SMS message includes characters outside the set of thelowest encoding scheme, the next highest encoding scheme (e.g., 8-bitencoding scheme) may be attempted. If this next highest still cannot beused, the highest 16-bit encoding scheme may be used.

In step 460, the concatenation application 240 transmits instructions tothe baseband layer 245 that indicates how the text message is to beseparated into the concatenated SMS messages, the encoding scheme to beused with each concatenated SMS message, and the sequence in which theconcatenated SMS messages are to be organized. Thus, in step 465, thebaseband layer 245 transmits the concatenated SMS messages to thereceiving station 110.

With regard to the operations performed by the receiving station 110,the text message may be received in the manners described above in themethod 400. The receiving station 110 may include the messagingapplication 235 and optionally the concatenation application 240.

In the first example, the transmitting station 105 may perform step 425to transmit the text message as data. The text message is transmittingin this manner when the transmitting station 105 is aware that thereceiving station 110 is capable of this functionality. Thus, thereceiving station 110 may receive the entire text message using itsmessaging application 235 having the data encoding scheme applied. Theentire text message may also be shown as a single unit (e.g., within asingle bubble in the user interface of the messaging application 235).

In the second example, the transmitting station 105 may perform steps440-450 to transmit the text message as a single SMS message. Thus, themessaging application 235 of the receiving station 110 may receive thesingle SMS message to be decoded using a reverse operation to encodeusing the respective encoding scheme. The entire text message may beshown as a single unit as only a single SMS message was received.

In the third example, the transmitting station 105 may perform steps455-465 to transmit the text message as a plurality of concatenated SMSmessages. Thus, the messaging application 235 of the receiving station110 may receive these concatenated SMS messages to be decoded using areverse operation to encode using the respective encoding scheme. Inthis example, each concatenated SMS message may have been encoded withdifferent encoding schemes. Thus, the messaging application 235 maydetermine the encoding schemes used to properly decode them.Furthermore, the receiving station 110 may include the concatenationapplication 240 that may be configured to perform an assemblyfunctionality for the received concatenated SMS messages. In thismanner, the concatenated SMS messages may be combined into a single textmessage for display to the user of the receiving station 110. However,it should be noted that each concatenated SMS message may also be shownseparately on the user interface of the messaging application 235.

The following examples describe use cases in which a concatenationprocess is used by the exemplary embodiments to dynamically encode eachconcatenated SMS message so that the number of concatenated SMS messagesused for a text message is minimized. Specifically, FIGS. 5A-D relate toa first example while FIGS. 6A-D relate to a second example.

FIG. 5A shows a first exemplary text message 500. The text message 500includes 160 total characters in which the first character is a Unicodecharacter while the remaining 159 characters are 7-bit characters. Thismay be substantially similar to the example described above. FIGS. 5B-Dshow exemplary concatenations of the text message of FIG. 5A.

FIG. 5B shows a concatenation 505 in which the text message 500 isseparated into three concatenated SMS messages 510, 515, 520. Theconcatenation 505 illustrates that the concatenation application 240 mayalso attempt to use standard manners. For example, the detection of theUnicode character may cause an attempt in which the 16-bit encodingscheme is used throughout. Thus, the first concatenated SMS message 510includes the one Unicode character and 69 7-bit characters, all encodedwith the 16-bit encoding scheme; the second concatenated SMS message 515includes 70 7-bit characters, all encoded with the 16-bit encodingscheme; and the third concatenated SMS message 520 includes 20 7-bitcharacters, all encoded with the 16-bit encoding scheme.

However, FIG. 5C shows a concatenation 525 in which the text message 500is separated into two concatenated SMS messages 530, 535. According tothe exemplary embodiments, the concatenation application 240 maydetermine that the first concatenated SMS message 530 may be encodedusing the 16-bit encoding scheme due to the Unicode character. However,the text message may include all remaining 90 characters into a singleconcatenated SMS message 535 which may be encoded using the 7-bitencoding scheme. Thus, the result is the use of only two concatenatedSMS messages from the concatenation 525 as opposed to the threeconcatenated SMS messages from the concatenation 505.

FIG. 5D shows another concatenation 540 in which the text message 500 isseparated into two concatenated SMS messages 545, 550. The concatenationapplication 240 may determine that since the entire length of the textmessage is 160 characters with only the very first character being aUnicode character, the text message may be separated such that theUnicode character is the only one in the concatenated SMS message 545while the remaining 159 characters are included in the concatenated SMSmessage 550. That is, the first concatenated SMS message 545 is encodedusing the 16-bit encoding scheme while the second concatenated SMSmessage 550 is encoded using the 7-bit encoding scheme. Theconcatenation application 240 may thus provide instructions for the textmessage to be transmitted using the concatenation 540 which also onlyuses two concatenated SMS messages. It should be noted that theconcatenation 540 may be used for further reasons such as lesscharacters being encoded with the higher 16-bit encoding scheme whilestill using a minimum number of concatenated SMS messages.

FIG. 6A shows a second exemplary text message 600. The text message 600includes 161 total characters in which the first character is a Unicodecharacter, the second to one hundredth and fifth characters are 7-bitcharacters, the one hundredth and sixth character is a Unicodecharacter, and the remaining characters are 7-bit characters.

FIG. 6B shows a first concatenation 605 in which the text message 600 isseparated into four concatenated SMS messages 610, 615, 620, 625. Theconcatenation 605 may be generated from the above noted reason oflimiting the number of characters encoded with the highest encodingscheme. Thus, the Unicode characters are each encoded with the 16-bitencoding scheme and also separated from the 7-bit characters. That is,the first concatenated SMS message 610 includes the Unicode characterencoded with the 16-bit encoding scheme; the second concatenated SMSmessage 615 includes 104 7-bit characters, all encoded with the 7-bitencoding scheme; the third concatenated SMS message 620 includes theUnicode character encoded with the 16-bit encoding scheme; and thefourth concatenated SMS message 625 includes the remaining 55 7-bitcharacters, all encoded with the 7-bit encoding scheme. However, thetext message results in four concatenated SMS messages.

FIG. 6C shows a second concatenation 630 in which the text message 600is separated into three concatenated SMS messages 635, 640, 645. Theconcatenation 630 may be generated by considering only a lowest numberof concatenated SMS messages. Accordingly, the first concatenated SMSmessage 635 may include the Unicode character and 69 7-bit characters,all encoded with the 16-bit encoding scheme; the second concatenated SMSmessage 640 may include 35 7-bit characters, the Unicode character, and34 7-bit characters, all encoded with the 16-bit encoding scheme (due tothe mixture of characters); and the third concatenated SMS message 645may include the remaining 21 7-bit characters, all encoded with the7-bit encoding scheme. Thus, the concatenation 630 includes one lessconcatenated SMS message than the concatenation 605. Accordingly, theconcatenation 630 may be selected by the concatenation application 240over the concatenation 605.

FIG. 6D shows a third concatenation 650 in which the text message 600 isalso separated into three concatenated SMS messages 655, 660, 665. Theconcatenation 650 may be generated by considering both the lowest numberof concatenated SMS messages and the lowest number of characters using ahighest encoding scheme. Accordingly, the first concatenated SMS message655 may include only the Unicode character encoded with the 16-bitencoding scheme; the second concatenated SMS message 660 may include 1047-bit characters, all encoded with the 7-bit encoding scheme; and thethird concatenated SMS message may include the Unicode character and 557-bit characters, all encoded with the 16-bit encoding scheme (due tothe mixture of characters). This both minimizes the number ofconcatenated SMS messages as well as the number of characters using thehighest encoding scheme. Therefore, the concatenation 650 may beselected by the concatenation application 240 over the concatenation 605and the concatenation 630.

The exemplary embodiments provide a device and method of transmitting atext message using SMS and concatenation. The concatenation of the textmessage entails separating the text message into a plurality ofportions. Specifically, each portion is a concatenated SMS message. Aconcatenation application is configured to determine a minimum number ofconcatenated SMS messages to be used to transmit the text message. Theconcatenation application is also configured to determine a respectiveencoding scheme to be used by each concatenated SMS message in order toachieve the minimum number of concatenated SMS messages. Specifically,each concatenated SMS message attempts to use a lowest encoding schemeprior to using a higher encoding scheme.

The exemplary embodiments may be configured to provide substantiallysimilar features as the concatenation process provided in standarddevices. Specifically, the stations may seamlessly provide the featuresof the exemplary embodiments. It should also be noted that if thetransmitting station is configured with the concatenation applicationwhile the receiving station is only configured with a standard messagingapplication, the long text message may still be received as an entiremessage that is combined by the receiving station. Since the headers mayprovide the relevant information, a standard messaging application maystill be configured to provide this combination feature of theconcatenation process.

Those skilled in the art will understand that the above-describedexemplary embodiments may be implemented in any suitable software orhardware configuration or combination thereof. An exemplary hardwareplatform for implementing the exemplary embodiments may include, forexample, an Intel x86 based platform with compatible operating system, aMac platform and MAC OS, iOS, Android, etc. In a further example, theexemplary embodiments of the above described method may be embodied as aprogram containing lines of code stored on a non-transitory computerreadable storage medium that, when compiled, may be executed on aprocessor or microprocessor.

It will be apparent to those skilled in the art that variousmodifications may be made in the present invention, without departingfrom the spirit or the scope of the invention. Thus, it is intended thatthe present invention cover modifications and variations of thisinvention provided they come within the scope of the appended claims andtheir equivalent.

What is claimed is:
 1. A method comprising: at a transmitting station:receiving a text message for transmission through a network to areceiving station, the text message including a plurality of characters;determining, based on a number of the plurality of characters andencoding schemes associated with the characters, that the text messageis to be transmitted using concatenation; determining, based on thenumber of the plurality of characters and encoding schemes for each ofthe characters, a minimum number of concatenated messages used totransmit the text message; encoding each of the minimum number ofconcatenated messages for transmission, wherein a first of theconcatenated messages is encoded by a first one of the encoding schemesand a second of the concatenated messages is encoded by a second one ofthe encoding schemes, wherein at least one of the characters in thesecond concatenated message cannot be encoded by the first encodingscheme; and transmitting the concatenated messages that have beenrespectively encoded to the receiving station.
 2. The method of claim 1,wherein the text message is a Short Message Service (SMS) message andthe encoding schemes are a 7-bit encoding scheme, an 8-bit encodingscheme, and a 16-bit encoding scheme.
 3. The method of claim 2, whereinthe use of the SMS is determined by configuration information of thetransmitting station, configuration information of the receivingstation, and network information of the network.
 4. The method of claim3, further comprising: receiving the configuration information of thereceiving station by one of requesting the configuration informationfrom the receiving station, transmitting a multimedia message service(MMS) message to the receiving station, and receiving the configurationinformation from the network.
 5. The method of claim 2, wherein the7-bit encoding scheme defines a first maximum number of characters foruse in one of the concatenated messages as 160, the 8-bit encodingscheme defines a second maximum number of characters for use in one ofthe concatenated messages as 140, and the 16-bit encoding scheme definesa third maximum number of characters for use in one of the concatenatedmessages as
 70. 6. The method of claim 5, wherein the use of theconcatenation is determined when the number of the characters exceedsthe first maximum number.
 7. The method of claim 2, further comprising:determining, by the transmitting station, the encoding schemes to encodeeach of the concatenated messages by firstly selecting the 7-bitencoding scheme, secondly selecting the 8-bit encoding scheme, andthirdly selecting the 16-bit encoding scheme.
 8. The method of claim 1,further comprising: receiving, by the receiving station, theconcatenated messages that have been respectively encoded; and decoding,by the receiving station, each of the concatenated messages using therespective encoding scheme.
 9. The method of claim 8, furthercomprising: combining, by the receiving station, the concatenatedmessages to generate the text message; and displaying, by the receivingstation, the text message.
 10. The method of claim 1, furthercomprising: generating, by the transmitting station, concatenationinformation to be pushed to a baseband layer to transmit theconcatenated messages.
 11. A station, comprising: a transceiverconfigured to establish a connection to a network; and a processor,wherein the processor and transceiver are configured to transmit a textmessage by: receiving a text message for transmission through a networkto a receiving station, the text message including a plurality ofcharacters; determining that the text message is to be transmitted usingconcatenation; determining a minimum number of concatenated messagesused to transmit the text message; encoding each of the minimum numberof concatenated messages for transmission, wherein a first of theconcatenated messages is encoded by a first encoding scheme and a secondof the concatenated messages is encoded by a second encoding scheme,wherein at least one of the characters in the second concatenatedmessage cannot be encoded by the first encoding scheme; and transmittingthe concatenated messages that have been respectively encoded to thereceiving station.
 12. The device of claim 11, wherein the encodingschemes include one of a 7-bit encoding scheme, an 8-bit encodingscheme, and a 16-bit encoding scheme.
 13. The device of claim 11,wherein the text message is a Short Message Service (SMS) message anduse of the SMS message is determined by configuration information of thetransmitting station, configuration information of the receivingstation, and network information of the network.
 14. The device of claim13, wherein the processor is configured to receive the configurationinformation of the receiving station by one of requesting theconfiguration information from the receiving station, transmitting amultimedia message service (MMS) message to the receiving station, andreceiving the configuration information from the network.
 15. The deviceof claim 12, wherein the 7-bit encoding scheme defines a first maximumnumber of characters for use in one of the concatenated messages as 60,the 8-bit encoding scheme defines a second maximum number of charactersfor use in one of the concatenated messages as 140, and the 16-bitencoding scheme defines a third maximum number of characters for use inone of the concatenated messages as
 70. 16. The device of claim 15,wherein the use of the concatenation is determined when a number of thecharacters exceeds the first maximum number.
 17. The device of claim 11,wherein the processor is configured to determine the encoding schemes byfirstly selecting the first encoding scheme and secondly selecting thesecond encoding scheme.
 18. The device of claim 11, wherein theconcatenated messages are configured to be decoded by the receivingstation using the respective encoding scheme.
 19. The device of claim18, wherein the concatenated messages are configured to be combined bythe receiving station to generate the text message.
 20. A non-transitorycomputer readable storage medium with an executable program storedthereon, wherein the program instructs a microprocessor to performoperations comprising: receiving a text message for transmission througha network to a receiving station, the text message including a pluralityof characters; determining, based on a number of the plurality ofcharacters and encoding schemes associated with the characters, that thetext message is to be transmitted using concatenation; determining,based on the number of the plurality of characters and encoding schemesfor each of the characters, a minimum number of concatenated messagesused to transmit the text message; encoding each of the minimum numberof concatenated messages for transmission, wherein a first of theconcatenated messages is encoded by a first one of the encoding schemesand a second of the concatenated messages is encoded by a second one ofthe encoding schemes, wherein at least one of the characters in thesecond concatenated message cannot be encoded by the first encodingscheme; and transmitting the concatenated messages that have beenrespectively encoded to the receiving station.